package com.accp.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import com.accp.info.BookInfo;
import com.accp.info.where.BookWhere;

public interface BookDao {

	List<BookInfo> find1(@Param("where")String where);
	List<BookInfo> find2(
			@Param("min")
			double minPrice,
			@Param("max")
			double maxPrice);
	
	List<BookInfo> find3(
			@Param("min")
			double minPrice,
			@Param("max")
			double maxPrice,
			RowBounds rb);
	
	List<BookInfo> find4(BookWhere bw,RowBounds rb);
	int count4(BookWhere bw);
	
	BookInfo findOne(int id);
}
